% Devin Koepl

clear('all');

addpath('../dynamics');

bounces = 10;

output = cell(bounces, 2);

bb_obj = BouncingBallClass([1; 0]);

for i = 1 : bounces
   [output{i, 1}, output{i, 2}] = bb_obj.run(); 
end

figure;
hold on;
for i = 1 : bounces
    plot(output{i, 1}, output{i, 2}(:, 1));
end